import request from '@/utils/request'
// 查询流程定义列表
export function resourcesListInfo(query) {
    return request({
        url: '/statement/resourcesListInfo',
        method: 'get',
        params: query
    })
}
// 查询流程定义列表
export function resourcesCurce(query) {
    return request({
        url: '/statement/resourcesCurce',
        method: 'get',
        params: query
    })
}

export const getCloudServiceHomeData = params => request({
    url: '/homepage/supplier',
    params
})

export const getAdminHomeDataPart1 = params => request({
  url: '/homepage/admin/part1',
  params
})

export const getAdminHomeDataPart2 = params => request({
  url: '/homepage/admin/part2',
  params
})

export const getAdminHomeDataPart3 = params => request({
  url: '/homepage/admin/part3',
  params
})

export const getAdminHomeDataPart4 = params => request({
  url: '/homepage/admin/part4',
  params
})

export const getAdminHomeDataPart5 = params => request({
  url: '/homepage/admin/part5',
  params
})
